<div class="main-container container-fluid">
        <!-- Page Container -->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar" id="sidebar">
                <!-- Page Sidebar Header-->
                <!-- /Page Sidebar Header -->
                <!-- Sidebar Menu -->
                <ul class="nav sidebar-menu">
                    <!--Dashboard-->
                    <!--Tables-->
                    <?php if(strpos($_SESSION['adminUserInfo']['power'],"SystemManager")):?>
                    <li class="<?php if(in_array($_SESSION['v_menu'],array("role","account"))):?>open<?php endif;?>">
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-table"></i>
                            <span class="menu-text"> 系统设置 </span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"SystemManagerRole")):?>
                            <li <?php if($_SESSION['v_menu'] == "role"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/role/rolelist"?>'>
                                    <span class="menu-text" >角色管理</span>
                                </a>
                            </li>
                            <?php endif;?>
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"SystemManagerAccount")):?>
                            <li <?php if($_SESSION['v_menu'] == "account"):?>style="display: block;"<?php endif;?>>
                                <a href = '<?= BASEURL."luckydog/account/accountList"?>'>
                                    <span class="menu-text">账号管理</span>
                                </a>
                            </li>
                            <?php endif;?>
                        </ul>
                    </li>
                    <?php endif;?>

                     <?php if(strpos($_SESSION['adminUserInfo']['power'],"UserManager")):?>
                    <li <?php if(in_array($_SESSION['v_menu'],['user'])):?>class="open"<?php endif;?>>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa  fa-users"></i>
                            <span class="menu-text">会员管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"UserManagerUser")):?>
                            <li>
                                <a href="<?= BASEURL."luckydog/user/index"?>">
                                    <span class="menu-text">用户列表</span>
                                </a>
                            </li>
                            <?php endif;?>
                        </ul>
                    </li>
                    <?php endif;?>

                    <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZixunManager")):?>
                    <li <?php if(in_array($_SESSION['v_menu'],['news','newsCategory','email_history','email'])):?>class="open"<?php endif;?>>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-comments-o"></i>
                            <span class="menu-text">资讯管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                           <!--  <li>
                               <a href='<?= BASEURL."luckydog/broadcast"?>'>
                                   <span class="menu-text">公告管理</span>
                               </a>
                           </li>
                            -->
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZixunManagerNews")):?>
                            <li <?php if(in_array($_SESSION['v_menu'],['news','newsCategory'])):?>class="open"<?php endif;?>>
                                <a href="#" class="menu-dropdown">
                                    <span class="menu-text">
                                        新闻管理
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>

                                <ul class="submenu">
                                    
                                    <li>
                                        <a href='<?= BASEURL."luckydog/newscategory/index"?>'>
                                            <i class="menu-icon fa fa-th-list"></i>
                                            <span class="menu-text">新闻分类管理</span>
                                        </a>
                                    </li>
                                    

                                    
                                    <li>
                                        <a href='<?= BASEURL."luckydog/news/index"?>'>
                                            <i class="menu-icon fa fa-align-justify"></i>
                                            <span class="menu-text">新闻列表管理</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <?php endif;?>
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZixunManagerMessage")):?>
                            <li <?php if(in_array($_SESSION['v_menu'],['email_history','email'])):?>class="open"<?php endif;?>>
                                <a href="#" class="menu-dropdown">
                                    <span class="menu-text">
                                        消息管理
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>

                                <ul class="submenu">
                                    <li>
                                        <a href='<?= BASEURL."luckydog/emailsender/index"?>'>
                                            <i class="menu-icon fa fa-envelope-o"></i>
                                            <span class="menu-text">发件箱</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?= BASEURL."luckydog/emailsender/emailsender_history?type=1"?>">
                                            <i class="menu-icon fa  fa-envelope"></i>
                                            <span class="menu-text">草稿箱</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?= BASEURL."luckydog/emailsender/emailsender_history"?>" class="menu-dropdown">
                                            <i class="menu-icon fa fa-columns"></i>
                                            <span class="menu-text">已发消息</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <?php endif;?>

                        </ul>
                    </li>
                    <?php endif;?>

                    <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZiyuanManager")):?>
                    <li <?php if(in_array($_SESSION['v_menu'],['document','video'])):?>class="open"<?php endif;?>>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-qrcode"></i>
                            <span class="menu-text">资源管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">类别设计</span>
                                </a>
                            </li>

                            <li>
                                <a href="#">
                                    <span class="menu-text">课件管理</span>
                                </a>
                            </li>
                            -->
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZiyuanManagerZiliao")):?>
                            <li <?php if(in_array($_SESSION['v_menu'],['document','video'])):?>class="open"<?php endif;?>>
                                <a href="#" class="menu-dropdown">
                                    <span class="menu-text">
                                        资料管理
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>

                                <ul class="submenu">
                                    <li>
                                        <a href="<?= BASEURL.'luckydog/document/index'?>">
                                            <i class="menu-icon fa fa-th-list"></i>
                                            <span class="menu-text">文档管理</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?= BASEURL.'luckydog/video/index'?>">
                                            <i class="menu-icon fa fa-align-justify"></i>
                                            <span class="menu-text">视频管理</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <?php endif;?>
                           <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">文章管理</span>
                                </a>
                            </li>
                           -->
                        </ul>
                    </li>
                    <?php endif;?>
    
                    <!--
                    <li>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon  fa fa-retweet"></i>
                            <span class="menu-text">培训管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">

                            <li>
                                <a href="#">
                                    <span class="menu-text">网络课程设计</span>
                                </a>
                            </li>

                            <li>
                                <a href="#">
                                    <span class="menu-text">学员达标台帐</span>
                                </a>
                            </li>

                            <li>
                                <a href="#">
                                    <span class="menu-text">培训达标台帐</span>
                                </a>
                            </li>

                        </ul>
                    </li>
                    -->
                    
                    <?php if(strpos($_SESSION['adminUserInfo']['power'],"KaoshiManager")):?>
                    <li <?php if(in_array($_SESSION['v_menu'],['testimport','examination'])):?>class="open"<?php endif;?>>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon  fa fa-pencil-square-o"></i>
                            <span class="menu-text">考试管理</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">知识点管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="menu-text">题型管理</span>
                                </a>
                            </li>
                            -->
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"KaoshiManagerTiku")):?>
                            <li <?php if(in_array($_SESSION['v_menu'],['testimport'])):?>class="open"<?php endif;?>>
                                <a href="#" class="menu-dropdown">
                                    <span class="menu-text">
                                        题库管理
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>
                                <ul class="submenu">
                                    <li>
                                        <a href="<?= BASEURL.'luckydog/testimport/index'?>">
                                            <i class="menu-icon fa fa-th-list"></i>
                                            <span class="menu-text">批量导入练习题</span>
                                        </a>
                                    </li>
                                   
                                </ul>
                            </li>

                            <ul class="submenu">
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"ZiyuanManagerZiliao")):?>
                            <li <?php if(in_array($_SESSION['v_menu'],['document','video'])):?>class="open"<?php endif;?>>
                                <a href="#" class="menu-dropdown">
                                    <span class="menu-text">
                                        题库管理
                                    </span>
                                    <i class="menu-expand"></i>
                                </a>

                                <ul class="submenu">
                                    <li>
                                        <a href="<?= BASEURL.'luckydog/document/index'?>">
                                            <i class="menu-icon fa fa-th-list"></i>
                                            <span class="menu-text">批量导入练习题</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <?php endif;?>
                           <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">文章管理</span>
                                </a>
                            </li>
                           -->
                        </ul>
                            <?php endif;?>
                           <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">试卷管理</span>
                                </a>
                            </li>
                            -->
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"KaoshiManagerTiku")):?>
                            <li>
                                <a href="<?= BASEURL.'luckydog/examination/index'?>">
                                    <span class="menu-text">考试安排</span>
                                </a>
                            </li>
                            <?php endif;?>
                            <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">练习安排</span>
                                </a>
                            </li>

                            <li>
                                <a href="#">
                                    <span class="menu-text">人工复评</span>
                                </a>
                            </li>
                            -->
                            <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">成绩管理</span>
                                </a>
                            </li>
                            -->
                        </ul>
                    </li>
                    <?php endif;?>

                     <?php if(strpos($_SESSION['adminUserInfo']['power'],"TongjiManager")):?>
                    <li <?php if(in_array($_SESSION['v_menu'],['staticsQue','staticsDep','staticsUser'])):?>class="open"<?php endif;?>>
                        <a href="#" class="menu-dropdown">
                            <i class="menu-icon fa fa-signal"></i>
                            <span class="menu-text">统计分析</span>
                            <i class="menu-expand"></i>
                        </a>
                        <ul class="submenu">
                            <!--
                            <li>
                                <a href="#">
                                    <span class="menu-text">知识点使用率统计</span>
                                </a>
                            </li>
                            -->
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"TongjiManagerTixing")):?>
                            <li>
                                <a href="<?= BASEURL.'luckydog/statics/question'?>">
                                    <span class="menu-text">考试按时间统计</span>
                                </a>
                            </li>
                            <?php endif;?>
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"TongjiManagerBumen")):?>
                            <li>
                                <a href="<?= BASEURL.'luckydog/statics/dept'?>">
                                    <span class="menu-text">考试按部门统计</span>
                                </a>
                            </li>
                            <?php endif;?>
                            <?php if(strpos($_SESSION['adminUserInfo']['power'],"TongjiManagerYonghu")):?>
                            <li>
                                <a href="<?= BASEURL.'luckydog/statics/user'?>">
                                    <span class="menu-text">考试按用户统计</span>
                                </a>
                            </li>
                            <?php endif;?>
                        </ul>
                    </li>
                    <?php endif;?>
                </ul>
                <!-- /Sidebar Menu -->
            </div>
